//***********************************************************************
//  Messages.java   Author: Lewis/Loftus
//
//  Demonstrates the use of an overridden method.
//***********************************************************************
public class Messages
{
    //-------------------------------------------------------------------
    //  Creats two objects and invokes the message methodin each.
    //-------------------------------------------------------------------
    public static void main(String[] args)
    {
        Thought parked = new Thought();
        Advice dates = new Advice();

        parked.message();

        dates.message();  //  overridden
    }
}
